<?php
namespace app\widgets\widget1\assets;

class widget1Asset extends \yii\web\AssetBundle{
    public function init()
    {
        parent::init();
        $this->sourcePath = __DIR__ . '/file';
    }
    public $css=['test2.css'];
    public $js = ['test2.js'];

    public $depends = [
        'yii\web\JqueryAsset'
    ];
}
?>